import { createApp } from 'vue'
import App from './App.vue'
// import pinia from './stores'
import router from './router'
import pinia from './stores'

// 样式全局使用
import 'vant/lib/index.css'
import './styles/main.scss'
import { request } from './utils/request'
request('/login/password', 'post', {
  mobile: '13000000001',
  password: 'abc12345',
}).then((res) => {
  console.log(res)
})

const app = createApp(App)
app.use(pinia)

// app.use(pinia)
app.use(router)
app.mount('#app')
